From 9a8b24c8fa2ec64c09e5ecb620d77c530a9aced8 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sun, 26 Aug 2007 11:29:07 +0000 Subject: [PATCH] forgot to commit this with message tweak --- includes/Article.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/Article.php b/includes/Article.php index d3cb1ee093..6a583db769 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -902,7 +902,7 @@ class Article { function addProtectionNotice( $editrestr, $moverestr ) { global $wgOut; - $editGroups = $moveGroups = ''; + $editGroups = $moveGroups = wfMsg('protected-anyone'); # Get groups that have each right if( !empty( $editrestr ) ) { $permission = ($editrestr[0]=='sysop') ? 'protect' : $editrestr[0]; @@ -916,11 +916,11 @@ class Article { } # Use general messages if no groups found for a type if( !$editGroups || !$moveGroups ) { - $msg = wfMsg( 'protected-subtitle3' ); + $msg = wfMsg( 'protected-subtitle' ); } else if( $editGroups == $moveGroups ) { $msg = wfMsg( 'protected-subtitle2', $editGroups, $moveGroups ); } else { - $msg = wfMsg( 'protected-subtitle', $editGroups, $moveGroups ); + $msg = wfMsg( 'protected-subtitle3', $editGroups, $moveGroups ); } $wgOut->setSubtitle( $wgOut->getSubtitle() . $msg ); -- 2.20.1